#ifndef __CTaskThread_H__
#define __CTaskThread_H__

#include <lampe/thread/ITask.h>
#include "CThread.h"

namespace lampe{
namespace thread{

class CTaskThread:public CThread{
private:
    ITask task;
protected:
    virtual void threadRunning();
public:
    CTaskThread(ITask t);
};

}//namespace thread
}//namespace lampe
#endif